package com.yxx.medicinepojo.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 组合药
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SetMedicine implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    /**
     * 分类id
     */
    private Long categoryId;

    /**
     * 组合药名称
     */
    private String name;

    /**
     * 价格
     */
    private BigDecimal price;

    /**
     *  状态 0:下架 1:上架
     */
    private Integer status;

    /**
     * 描述信息 -> 主治功能
     */
    private String description;

    /**
     * 图片
     */
    private String image;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private Long createUser;

    private Long updateUser;
}
